﻿using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.XtraGrid.Localization;

namespace MDIDemo
{
    class MyGridLocalizer : GridLocalizer
    {
        public override string GetLocalizedString(GridStringId id)
        {
            
            switch (id)
            {
                case DevExpress.XtraGrid.Localization.GridStringId.FilterBuilderCaption:
                    return "Tùy chỉnh lọc";
                case DevExpress.XtraGrid.Localization.GridStringId.GridGroupPanelText:
                    return "Kéo cột đến đây để nhóm dữ liệu";
                case DevExpress.XtraGrid.Localization.GridStringId.FilterPanelCustomizeButton:
                    return "Tùy chỉnh lọc";
                    
            }
             
            return base.GetLocalizedString(id);
        }
    }
}
